<?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;

class CreateConfSitePaysTable extends Migration {

	/**
	 * Run the migrations.
	 *
	 * @return void
	 */
	public function up()
	{
		Schema::create('conf_site_pays', function(Blueprint $table)
		{
			$table->integer('id', true);
			$table->integer('site_id')->comment('网站id');
			$table->integer('pay_id')->comment('付款方式');
			$table->string('payusername')->nullable();
			$table->string('password')->nullable();
			$table->timestamps();
		});
	}


	/**
	 * Reverse the migrations.
	 *
	 * @return void
	 */
	public function down()
	{
		Schema::drop('conf_site_pays');
	}

}
